﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OopProperty
{
    internal class Car
    {
        public string Brand  { get; set; }

        public Turbo CarTurbo { get; set; }


        public void ShowInfo() {

            Console.WriteLine($"汽车品牌：{Brand},发动机型号：{CarTurbo.Type}，发动机排量：{CarTurbo.Volumn}L" );
        }
    }
}
